#ifndef TIM_H
#define TIM_H
#include "stm32f4xx.h"
#include "imu.h"
#include "control.h"
#include "AK8975.h"
#include "SPL06.h"
#include "HC_SR04.h"
#include "kalman.h"
#include "altitude.h"

extern u16 SPL06_Scan;
extern u16 ms5,ms10,ms20 ,ms50 ,ms100 ,ms1000 ; 
void TIM2_Init(void);
void TIM4_Init(void);
#endif
